import request from '@/utils/request.js';

// 注册接口
export const postRegister = (url, obj) => {
  return request({
    url: url,
    method: 'post',
    data: {
      account: obj.account,
      captcha: obj.captcha,
      email: obj.email,
      nickname: obj.nickname,
      password: obj.password,
    },
  });
};
